package com.jhgsys.internal.incentive.service;

import com.jhgsys.internal.incentive.entity.IncentiveRewardUser;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 安全奖励人员 Service接口
 *
 * @author wanghjw
 * @date 2024-09-03 14:08:31
 */
public interface IIncentiveRewardUserService extends IService<IncentiveRewardUser> {
    /**
     * 查询（分页）
     * @author wanghjw
     * @date 2024-09-03 14:08:31
     * @param request QueryRequest
     * @param incentiveRewardUser incentiveRewardUser
     * @return IPage<IncentiveRewardUser>
     */
    IPage<IncentiveRewardUser> findIncentiveRewardUserPage(QueryRequest request, IncentiveRewardUser incentiveRewardUser);

    /**
     * 查询（所有）
     * @author wanghjw
     * @date 2024-09-03 14:08:31
     * @param incentiveRewardUser incentiveRewardUser
     * @return List<IncentiveRewardUser>
     */
    List<IncentiveRewardUser> findIncentiveRewardUserList(IncentiveRewardUser incentiveRewardUser);

    /**
    * 根据ID查询
    * @author wanghjw
    * @date 2024-09-03 14:08:31
    * @param id
    * @return IncentiveRewardUser
    */
    IncentiveRewardUser findIncentiveRewardUserById(String id);

    /**
     * 新增
     * @author wanghjw
     * @date 2024-09-03 14:08:31
     * @param incentiveRewardUser incentiveRewardUser
     */
    void createIncentiveRewardUser(IncentiveRewardUser incentiveRewardUser);

    /**
     * 修改
     * @author wanghjw
     * @date 2024-09-03 14:08:31
     * @param incentiveRewardUser incentiveRewardUser
     */
    void updateIncentiveRewardUser(IncentiveRewardUser incentiveRewardUser);

    /**
     * 逻辑删除
     * @author wanghjw
     * @date 2024-09-03 14:08:31
     * @param incentiveRewardUser incentiveRewardUser
     * @param incentiveRewardUserIds incentiveRewardUserIds
     */
    void deleteIncentiveRewardUser(IncentiveRewardUser incentiveRewardUser,String incentiveRewardUserIds);

    /**
    * 物理删除
    * @author wanghjw
    * @date 2024-09-03 14:08:31
    * @param incentiveRewardUserIds incentiveRewardUserIds
    */
    void physicallyDeleteIncentiveRewardUser(String incentiveRewardUserIds);
}
